﻿<%@ page language="java" import="java.util.*" contentType="text/html"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport"
		content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
	<meta name="renderer" content="webkit">
		<title>后台管理</title>
		<link rel="stylesheet"
			href='<c:url value="/share/pintuer.css"></c:url>' />
		<link rel="stylesheet" href='<c:url value="/share/admin.css"></c:url>' />
		<script type="text/javascript"
			src='<c:url value="/js/boot.js"></c:url>'></script>
		<script type="text/javascript"
			src='<c:url value="/js/pintuer.js"></c:url>'></script>
		<script type="text/javascript"
			src='<c:url value="/js/admin.js"></c:url>'></script>
		<link rel="stylesheet" type="text/css"
			href='<c:url value="/share/styles.css"></c:url>' />
		<style>
.mainer {
	margin-top: 10px !important;
}

.admin-nav .active ul {
	margin-top: 41px !important;
}

.wh_system_hello, .wh_system_hello_yellow {
	margin-right: 10px;
}

.tab_tab_nav_li_AClick {
	color: #fff !important;
	background: #09c;
}

.logo {
	padding: 27px 10px !important;
}

.admin-navbar {
	margin-top: 30px !important;
}

.admin-bread span {
	line-height: 25px !important;
	margin-top: 6px !important;
}

.mini-tabs-bodys {
	padding: 0;
}
</style>
</head>
<body>
	<div class="lefter">
		<div class="logo">
			<img src="<c:url value="/share/img/logo.png"></c:url>" alt="后台管理系统" />
		</div>
	</div>
	<div class="righter nav-navicon" id="admin-nav">
		<div class="mainer">
			<div class="admin-navbar">
				<ul class="nav nav-inline admin-nav">
					<li class="active">
						<!--<a href="system.html" class="icon-cog"> 系统</a>-->
						<ul>
							<li id="navi1" onclick="naviClick(1)" class="active"><a
								href="#">用户管理</a></li>
							<li id="navi2" onclick="naviClick(2)"><a href="#">问题列表</a></li>
							<li id="navi3" onclick="naviClick(3)"><a href="#">数据分析</a></li>
							<li id="navi4" onclick="naviClick(4)"><a href="#">公益活动</a></li>
						</ul>
					</li>
				</ul>
			</div>
			<div class="admin-bread">
				<span class="float-right"> <a
					class="button button-little bg-yellow wh_system_hello_yellow"
					href="login.html">注销登录</a>
				</span> <span class="wh_system_hello">您好，admin，欢迎您的光临。</span>
				<ul class="bread">
					<li id="breadLi1"><a href="javascript:naviClick(1)" class="icon-home"> 用户管理</a></li>
					<!-- <li>系统设置</li> -->
				</ul>
			</div>
		</div>
	</div>

	<div id="container" class="admin wh_system_contents">
		<!-- <div class="admin">
			<div class="tab wh_username_detasil_list">
				<div class="tab-head">
					<ul class="tab-nav username_detasil_list">
						<li class="active"><a href="#tab-set">用户列表</a></li>
						<li><a href="#tab-email">律师列表</a></li>
						<li><a href="#tab-upload">待审核律师</a></li>
						<li><a href="#tab-visit">黑名单列表</a></li>
					</ul>
				</div>
			</div>
		</div> -->
		<iframe width="100%" id="contentFrame" name="contentFrame"
			height="100%" frameborder="0" >
		</iframe>
		<%-- <div id="formTabs" class="mini-tabs" activeIndex="0"
			style="border-width: 0; width: 100%; height: 100%;">
			<div title="用户列表" url="<c:url value='/userMng/userList/1/0' />"></div>
			<div title="律师列表" url="<c:url value='/userMng/userList/2/0' />"></div>
			<div title="待审核律师" url="<c:url value='/userMng/userList/3/0' />"></div>
			<div title="黑名单列表(用户)" url="<c:url value='/userMng/userList/1/1' />"></div>
			<div title="黑名单列表(律师)" url="<c:url value='/userMng/userList/2/1' />"></div>
		</div>	 --%>
	</div>

	<script type="text/javascript">
		mini.parse();

		var rootPath = '${rootPath}';

		$(function() {
			/* $(".wh_username_detasil_list form").hide();
			$(".wh_username_detasil_list form:eq(0)").show();
			$(".username_detasil_list li a:eq(0)").addClass(
					"tab_tab_nav_li_AClick");
			$(".username_detasil_list li").click(
					function() {
						$(".username_detasil_list li").children().removeClass(
								"tab_tab_nav_li_AClick");
						$(this).children().addClass("tab_tab_nav_li_AClick");
						$(".wh_username_detasil_list>form").hide();
						$(
								".wh_username_detasil_list>form:eq("
										+ $(this).index() + ")").show();
					}); */
			$('#contentFrame').attr("src","<c:url value='/userMng/user' />");
		});
		function naviClick(item) {
			for (var i = 1; i <= 4; i++) {
				if (i != item) {
					$('#navi' + i).attr('class', '');
				} else {
					$('#navi' + item).attr('class', 'active');
				}
			}
			var srcStr = "";
			switch(item){
			case 1:
				srcStr = "<c:url value='/userMng/user' />";
				break;
			case 2:
				srcStr = "<c:url value='/questionMng' />";
				break;
			case 3:
				srcStr = "<c:url value='/analysis' />";
				break;
			case 4:
				srcStr = "<c:url value='/public' />";
				break;
			default:
				break;
			}
			$('#contentFrame').attr("src",srcStr);
		}
	</script>
</body>
</html>